package com.zhoushihao.class0806;

import java.util.Scanner;

public class ReadNumber {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        String[] str = {"ling","yi","er","san","si","wu","liu","qi","ba","jiu"};
        String msg = String.valueOf(n);
        for (int i = 0; i < msg.length(); i++) {
            if(msg.charAt(i)=='-'){
                System.out.print("fu ");
            }else {
                if(i==msg.length()-1){
                    System.out.println(str[msg.charAt(i)-'0']);
                }
                else System.out.print(str[msg.charAt(i)-'0']+" ");
            }
        }
    }
}
